moved all definitions to cpp
started working on logger
finished field implementation