started to clean up code to basic skeleton
template cfg file
merged in skeleton