bugfix: don't continue if the main_method isn't found
progress on #122 and #137: starting to decouple class lookup from initialization