changed file structure
rewrites build scripts for linux and windows (windows script is not tested and contains syntax errors)