Is there any way to use 3d slicer libraries and make my own GUI

A post was split to a new topic: Slicelet for position tracking