Create new view basesCover (which is proper for SAM-style schema). Add creation script of user defined functions and aggregate to create_udfs.sql. Create new user defined functions for new view.