Added Test class and and wrote function to Test Buffer class, started Windows class, fixed some broken functions in buffer