Removed target directory from source control. added some lines to gitignore. Moved to annotation @Autowired for connecting Beans in XML