Various Aditions and bugfixes

debugged and rewritten database connector, made a login system as well
as keyboard input class (yet to finish it though as it can only accept
lowercase letters right now)