Documentation and clean-up
More efficient compilation, library dependencies