refactors folders (karma failing)
fixes karma error