added stringloader
started refactoring