Moving all MySQL to a single file