Created controller for apartments also routes