Added doc
Restructed folders and added inheritance