Implemented ussues #2, #3, #4

Config moved from separate table to form config!!!