Added to eclipse project and adjusted code style