add package control and main file