moved all @postCostructor in only 1 method for resolving dependeces
problem at initialization of database