rearranging file structure and fixing karma conf