Restructure multi-platform support

Now there is a repo per platform with:
http://url_foo/
  | platform
     | metadata
     | targets