added joined field to users table
Added testing framework for views, refactored connection object for application instance