refactor share and info to modules

All objects instantiated with new are start with a capital letter.