Changed mysql connector and orm to libmysqlclient and Mapper