add two libraries: log4j for logging and junit for unit test