Modularize

Modularize package so all library methods are in their own class.