Added Mysql interface

-Added a button to insert into the database
-Fixed some bugs
-Added exception catching on DB connection