debugged with N and fixed foriegn key constraint and redirect to switch to view::make
Merge pull request #47 from jloehman/jason

debugged with N and fixed foriegn key constraint and redirect to switch ...