building orm into question lib