added fancyInput plugin

* moved connection to database to connection.php
bla