You don't even need to create new program only to track your addresses/balances. There are few choices such as :
1. Use watch-only feature on Bitcoin (or any cryptocurrency) wallet.
2. Use existing blockchain explorer API to get the complete addresses history and import to application that you use/create.
https://blockchain.info/api should have what you need and you can export the history of address with csv & xls from their blockchain explorer directly
