extended the attachments
fixed ORM upload bug
code cosmetics
improved the where checks
improved the attachment
extended the attachment list
implemented reference support for the fast search