fixes #122, profile folder now configurable, wraps up profile work