Fix lint warnings and add libraries to be used