Issue #7 - Create register assignment endpoints

Created register assignment endpoint. Implemented simple script to create an assignment.
Refactoring on the views.py file (now we have several files inside the views module)