Improving Code Quality in Agile Software Development