Make program object orientated rather than procedural