Creating basic state wrapper for menuing/directives
merging in T7 branch