fixed some bugs and implement db queries
fixed bug when no instruction is there
wrote first sketch of a parser
rework parser to a real parser (with lexer and this annoying stuff)