adding compile script for test to repo
fixing all compile time bugs