Refactoring in progress

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>