- extract study id for new entry
-added ignore file
-clean up code