Initial views commit

Todo: fix various undefined methods in controllers