Closes #206 - Rewrite view creation in restful-api