bilmodel table removed

Removed bilmodel table and fixed the queries to accomodate the change.