Structure edit + add autoloader

Signed-off-by: Samuel Kelemen <kelemen.samuel@gmail.com>