Major restructure. Added Bean database support in lue of using MySql
directly for DDL.