added various counters, fixed forks/theads
added setup.py