fix autoloading from composer, loosen dependency