restructured projecdt to be more modular
tested copy-rete for template facts
turned examples into integration tests