Merge pull request #3 from royalaid/master

Clean project maybe?
added basic file output functionallity
Streamlining code
Cleaning project & merge