Split stuff into functions and a library
Merge pull request #6 from tonk/better_control

Split stuff into functions and a library
.
version not always set
.
.
.
.
.
.
added quite option
some small changes
added start commando
.
.
.
.
.
added server .xml
copy server.xml to the right directory