remove main methods, add extra 'main' files