added knockout and changed main pattern to revealing module