switch to native trim + code formatting
Merge pull request #9 from DarkPark/master

switch to native trim + code formatting