refactored resultset in flexstore
refactored resultset in flexstore and psr2 issues