added code types and realization modeul
added basic authentication stuff