generate views for customers and finishing init db