made config path generic, added 'config' command, partially implemented