Added some rough and non-best-practice cleaning of incoming data, updated documentation