parse_data now works!

Added some documentation and made the parse_data() function work.