Re refactor

Complete refactor of backend!!!!!!!!

Basically moving a lot of logic out of the views and into the models/forms. Also creating separate modules for `courses` and `users`. New `lib` module for misc. api calls (sending emails, Stripe charges, etc.).