Initial commit bulk of functionality.