Is there a "lead" programmer there? If you don't want to quit then one option would be to convince the founder(s) that you are best placed to ensure the quality and maintainability of the codebase. This is probably worth a pay raise, but do be prepared to bring specific examples of what is going wrong and how your ideas will make the company more profitable.