better styles, refactored dumb things away

Signed-off-by: Chris Jones <chris@jonezy.org>