moving instance containers into their own file