Export factory method to create handler for REST API
Wrap long list of arguments
Add more static parameters for testing
Update port number
Add test for default handlers