Add base framework to be able to generate resource api instead of requiring user to pass in paths