Started documenting code and continued clean-up.