Added manifest attributes for security
Used thread classloader instead of the class-loader