Moved everything to packages. Fixed the download bug. Moved crypto stuff on server side to a base class for streamlining purposes.