start porting the parser from bicicleta.py (unfinished)