Cleaned most of the warnings in the project