Isn't that basically what things like this are for, open source, free.... https://github.com/steveyegge/beads