Refactor routes
Add initial query parser
Fix issue that prevents attributes block being provided before create/update
defined
Add support for attribute blocks on custom actions