test base added; file compile environment method added; removed unused imports from most modules