Removing dependencies on third party frameworks and adding configuration option