add key constants
reorganize Relation from Hibernate to the Railo core