Separete methods into individual R function files