added requirement for "mcrypt" extension
refactored "capitalize" method to "sentencecase"