Add new sql script for the creation of user-defined functions.
Add new views and index to create_db.sql.
Add new user defined function CountBasesSeparately.