now also an IDEA/WebStorm project
separated out computation logic
preliminary code on proximity sensor