Added command interface, added configurable, name-based profiling of functions (still incomplete)