Updated refs, added options parsing module