Separated components into files. Introduced rendering system.