Added core functionality

Added a few view methods, some forms and changed the directory stucture.