Building a Multi-Tier Environment - Organising Data with Output Variables