Rename barlib to bar
Added install code
Small edits
Added documentation