Use local

Use of local keyword for modules so the code can work with up coming
awesome versions