Added rudimentary config & database support, updated README.