Scope constants to module

Formating