Refactoring code to facilitate for more social coding