initial integration code.
added imports.