Organized project
Created separate main functions for testing purposes.