Separated post meta factory to own file