Start of new Primare class

Signed-off-by: Lasse Bigum <lasse@bigum.org>
Fix silly mistakes

Signed-off-by: Lasse Bigum <lasse@bigum.org>