Refactored into library project using gradle. Added the ability to apply typeface to styles as well