Added missing Classes and main in Medium