Database models

Issue #133 ,

@Omar-ElAzazy , @mansoursaid001