Added a function to create instances of components
Merge branch 'master' of https://github.com/SGTS/roguelike.git