Creating basic state wrapper for menuing/directives