added the main programs skeleton