Rewrite

* Add support for Ubuntu and Windoows
* Install apt packages
* Use double brackets for tests and curly braces in variables