Modified create method of Addon class to use DBConnection class