added simple curve key and id update logic so that tree can be built
changed load logic to load curves in class member list
added test case for creating bvh by loading a curve file
some cosmetic changes