Added inheritance to view controllers

Signed-off-by: geoffsdavis <geoffsdavis@yahoo.com>