Added and updated classes of namespace Entity, DataSource and MysqlDataSource + updated tests