Removed main from lib *ahem*