Adding spring dependencies and adding log4j files