Project and code quality improvements