Move controllers to return json
Delete unused views