add command support
put config in a file for better configuration