added test app, added jfc func test, added ability to set index file instead of directory(made more flexible), moved jfc command away from main file