moved sub functions
using explicit constructor
fixed cli
using resolve instead of find-module
updated tests to fit new signature
v0.6.0