added smcod + smconfig

two new classes :)