add package for the source files
restructure the directory
add logging support