Get rid of the maia-related classes

reviewer: @spostman