refactor

Signed-off-by: Frode Marton Meling <fm@saltship.com>