Created common file for shared functionality

* Contains declarations of tBoolean, tCallback
* Moved init.c into common due to use case
* Moved internal declarations into common for simplicity