Modyfied Model and connected to database.