created new module which can be called in another js file.