config and framework setup