Cleaned Buffer Final

Created cstring buffer of the input stream, with #comments cleaned out.