Added module extend and create. Using init function as initializer