Changed floor class and added request method to controller