added command-line arguments handling
refactored code splitting modules