Refactoring.

Added DB_DRIVER and DB_SOURCE environment parameter for database
connection.
Added Dockerfile for Docker.