add enveloper package and Main class