Add MainSQL.java
a few small changes to CommandsHandler