app skeleton + some entity-related functionality