added result class for JPAQL
added result mapping
finishing up SQL queries