Added model adapter and mysql connection