Split up Ruby class for easier maintenance