Add basic type handling

The library now supports 1 argument commands of type: double,
int, long, std::string and will do count + type checking before
calling the function