updated versioncode
minor refactoring