Compiling and running modules