Rejection colns added.
Search page tables changed to remove.
SQL queries changed to rails format
Controller fns renamed
Search behaviour for pick up  modified: