Move MySQL structure to own file