[WIP] Multi-OS support

Change directory structure for multi-OS.