better config system, flexible params
Updated docs, minor bugfixes