fixing small bugs, and adding install script
Merge branch 'master' of github.com:calufa/tales-core