Turn into OTP application and add initialization step
Update README and add a TODO section