Introducing levels

Signed-off-by: Peter Foldes <peter.foldes@turn.com>