Add logic for uploading files

Add logic to look for students in the database and
create new ones if they are not found and create
assignments for them.