added spring ioc, and made an interface for parsers, and made the parser ioc friendly