added empty model helpers and an api class. removed non-inversed relationships.