Flat repository,. CRUD data to FILE with PHP (Codeigniter) noSQL