generalize/backwards-compatible get_collection

1. get_collection is now backwards-compatible and generalized
2. bootstrap.css is now locally loaded properly.
...+ lots of other small random refactors.