lib: Add support for symbolic code

Signed-off-by: Michael Buesch <m@bues.ch>
gui: Add lib calls

Signed-off-by: Michael Buesch <m@bues.ch>