Added javadoc for actions, commands, model and preferences