Added Directives

Created a panel class for primary ones.