Removed some obious mistakes in SQL queries. Changed Base fetchByQuery to use mysqli fetch_object. Added Credit-related methods to Reply en Credit. Changed DB accordingly.