[fix #5] create fiar module

Have you actually tested that this function stops the application? I'm pretty sure it doesn't.