Hierarchy created. 
Instance implemented.
Main implemented partially.