Move views into a package.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Remove unnecessary import from view

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
First cut of the API.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Adds arguments to endpoints.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Updates production reqs (adds restful)
Adds docstring to api1

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Downgraded restful to 0.1.7

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>
Used patched version of flask-restful
Implements proper error handling and content negotiation.

Signed-off-by: Noufal Ibrahim <noufal@nibrahim.net.in>