Removed RPM templates, cleaned up gem and added tests for the mediatype