Library arhitecture blueprint v0.2

Additional warnings are enabled (and partly taken care of).