merged niceurl repo into this one