Added Module pattern
Added the singleton pattern