adding working curl classes, need refactoring