Observer Based Controller Design For Max-Plus Linear Systems With Applications