Revamped main module; added !env, !decimal and !relative tags; added
missing unit tests