Prep work for scala persistence class