Making command line tool buildable

This package will be probably split in to two, one with library and
other with just the command line tool.