Module structure and some basic functionality