add tzplatform-config and fix coding conventions