Fix some codestyle issues, start implementing a the views