Restructured folders and libs into architecture and platform folders