fixed recursion in rendering method
updated react to 0.12
moved component registration to react
refactoring
moved elements register to separate file
simplified rendering code