Fixed api.
Added submission upgrading.
Added basic queue model.
Added initial queue model. No real permissions yet. Should be functional though.