Fixed documentation, added sample project

closes #1, closes #2