moving all library stuff to a lib folder
this is so user apps for BiLE can also be in the repo