new config format, container, intefaces moved to a package and added tests with gocheck