creates initial module, adds it to index