General update - minor bugfixes

Added functionality to config parser and simple app.
Added extended test protocol defines