added in extractor for frontend, along with unit test and makefile changes