Various changes and updates.

Mainly added new config parsing and extension
for profiles. Profile creation tool added.