Public transport database implementation and manipulation (views, functions)