refactor: moved files to meet specifications
Removed the SubProcesses folder, merging it with the endpoints folder, as they were the same thing but added unnecessary complexity (issue #21 (closed))
Also removed enpoints.js from the endpoints folder, as it was simply a placeholder file with no real purpose (issue #18 (closed))