Develop

Moving mutex from the filesystem to the database.