Add getProtocol and getHost
Add root and primaryKey attrs; Add item uri to resources resp; Introduce addResource method to easily add routes; Add fields param to filter returned item keys
Refactor
Rewrite * to index.php