Completely changed the structure and switched to Eclipse Plugin.