added collection skeletons and switch statement module loading