Updated entities, unit tests added ormlite logging, fixed relation issues