Full refactoring and port to Linux
Fix windows system calls for linux
Update changelog and remove unnecessary fiels