Added packages and created Main class.