import Models, method from database
fix backref problem
add initialize to models