Added dependencies and made jar runnable

Added mysql driver to produced jars and made jars runnable.
Made database connection configurable

Made database connection configurable using the config.properties file.