whitespace
add some docstrings
make Cython use CyFunctions for all methods
add doctest for parsing files