Restructured
Added generator.py
Added time() to profiler