remove unused code; separate addPoints function
remove unused code; separate addPoints function

mainakibui/kobocat,ultimateprogramer/formhub,smn/onadata,eHealthAfrica/onadata,sounay/flaminggo-test,makinacorpus/formhub,wesley1001/formhub,SEL-Columbia/formhub,piqoni/onadata,mainakibui/kobocat,sounay/flaminggo-test,hnjamba/onaclone,GeoODK/onadata,wesley1001/formhub,piqoni/onadata,spatialdev/onadata,GeoODK/onadata,awemulya/fieldsight-kobocat,GeoODK/formhub,ultimateprogramer/formhub,eHealthAfrica/formhub,makinacorpus/formhub,jomolinare/kobocat,GeoODK/onadata,ehealthafrica-ci/onadata,SEL-Columbia/formhub,qlands/onadata,ehealthafrica-ci/formhub,qlands/onadata,hnjamba/onaclone,GeoODK/onadata,piqoni/onadata,eHealthAfrica/onadata,ehealthafrica-ci/formhub,GeoODK/formhub,sounay/flaminggo-test,kobotoolbox/kobocat,ultimateprogramer/formhub,makinacorpus/formhub,GeoODK/formhub,ehealthafrica-ci/formhub,eHealthAfrica/onadata,eHealthAfrica/formhub,spatialdev/onadata,ehealthafrica-ci/onadata,ehealthafrica-ci/formhub,sounay/flaminggo-test,ultimateprogramer/formhub,wesley1001/formhub,spatialdev/onadata,awemulya/fieldsight-kobocat,hnjamba/onaclone,mainakibui/kobocat,smn/onadata,ehealthafrica-ci/onadata,jomolinare/kobocat,qlands/onadata,awemulya/fieldsight-kobocat,awemulya/fieldsight-kobocat,ehealthafrica-ci/onadata,SEL-Columbia/formhub,qlands/onadata,kobotoolbox/kobocat,SEL-Columbia/formhub,piqoni/onadata,wesley1001/formhub,jomolinare/kobocat,hnjamba/onaclone,smn/onadata,spatialdev/onadata,kobotoolbox/kobocat,jomolinare/kobocat,eHealthAfrica/formhub,eHealthAfrica/formhub,kobotoolbox/kobocat,makinacorpus/formhub,mainakibui/kobocat,smn/onadata