rete-net-creation vastly refactored, added documentation
added defgenerics with documentation where needed