Transformed Dom, number, object and string to Modular pattern, made everything well documented