created helper files for DB models