Wip ark + windows

Just a preview of my work on ark and windows

please comment it @laradji

It may need rebasing.