Rename main file
Refactor to pull out use cases