update gradle wrapper, java7 migration, add architecture doc