Implement crud operations; add model locking