Added unique constraint and order to ProductTypeEntity
Added ProductEntity
Added method size to DAO to count entities
Switched to Java 8