Moved views to api view directory