feature(log): add logging
feature(main): add command support