file init

basic layer definition
some layers implement