remove all code from main.rs and start to create modules