basic framework for worker mapped out.