Created code for setup and teardown. Also dev setup will be executed in development mode.