refine system arch; fix typo in build.gradle