Move classes to separate files

Move classes to separate files from IocConfig.cs