WHT-31 

Pull request for review from @elmariofredo 
rewrite to look like this https://github.com/trexglobal/mysql-formula/blob/master/pillar.example#L3