Module pattern applied