Work in progress.
Refactoring.

Split Reflection related sources to other file.