Add really ugly code for bg player [WP]

the code is not pretty but is working for the current purposes.  Need to
refactor the shit of it ASAP. Also break it down into smaller
components.

Closes #3 and closes #8