Fixed build issues and added Dockerfile