added library code directory

this will likely be ported to bipy, but for code that isn't this will faciliate
import through-out the package as well as testing.
added top-level init
updated imports
updated imports
updated imports
updated imports
updated alignment to use affine gaps
expanded discussion, improved code
improved code, added notes