initial setup and import of code