Merge pull request #52 from zelgerj/master

minor refactoring added static functions.php
moved static function file