changed chmod and renamed main file
Separated modules