put functions into autoload
updated docs