added new config framework, improved command framework, other small improvements