add karma, adjust file structure