Adds possibility to use unittest for setup

and automatically creates the resource file for arcavias-core.