Use as library as well as command-line interface
Removed fibrous dependency!