added resource system
serverPort from resources
deleted test.html
fix ResourceFactory
Resources refactoring
Resources refactoring №2