add docs
add friendly url functionality