fixed warnings, cleaned up code
added JPNavigationController