added base model and view
restructure app