updated to fix karma errors and remove unnecessary files