implemented package to organize the code