Moved DB session into model for Package inserts.
Added a uuid fetching trait. Cleaned up some query code.