Some types changes
Made Board abstract - written the eval (action) function.
Added new modules to compilescript
Minor changes, types changes and moved function.