PHP warning update
Change 'currencies' approach to make it more flexible. Work in progress.
Code clean-up
Basic template structure (start). Work in progress.