Added some dependencies directly in the app define

* Added home page
* Made menu work better on refresh