Initial working version of BoSOS

Needs more documentation!