Cleaned up the use of the general RuntimeException.
Added maven install target and removed old example app directory.