Major refactoring of interface, minor core refactoring, added MySQL database API using PHP