Removed deprecated methods and added support for listing stations by station type.

The str.strip() method is deprecated, so I replaced it with an array
range -1.

I also made a helper class that will be used to searching and listing
connected stations.