Basic system

The code works good for small GTFS systems (less than 500 trips). The
code needs to be optimized