Crud krace

Added models methods and tests.