Refactored controller to be less ugly
Made model dry
forgot about action
Changed the timepoint handling. Saved one db call.
started testing, but have to stub the network first