Refactor, docs, translation, and styling