ormlite refactor