lib condensed into one main file
docs, more condensation