Building a sound and movement detection application