Stopped sidebar moving
renamed get_fields to get_columns
Did database lib docs