Added Domain Model and enhanced the SQL structure