Refactored initialization routine

Also, modified save path to be on a proper directory and started coding a proper loggin system