parses blocks & parameters

into action<> & func<>