added man page support, added documentation tags in code, added own selftest class
added man page support, added documentation tags in code, added own selftest class