database for REST, initial commit