adding ->module(), ->file() to API.pm