NN structure and initialization code

Basic class structures and constructors only
add imagelib dependency
add automatic package restore