Move db credentials to a properties file and refactor packages
use PropertyReader in UIs