added docs for newbie hackers
format supports ~%
minimal tests for format