Added more lib files, created options page