Refactored to separate files in Shrepl assembly - Main is now just an entry point