renames main to home and updated related controller files