Creation types schema

- [x] Creates a `NewEntity` schema for POST to `/entity`
- [x] Refactors handler functions to remove request dependency