added error messages to the views; re-structured the files in the app a bit