Comments update.
Added profiling. Added macros. Added StaticComponent. Renamed some methods and classes.