Move main js out of /lib.
[VERSION] 0.4. Now works on node 0.10.x and MySQL 2.5.