first attempt of organising exisitng code

Signed-off-by: dpiatkowski <damian.piatkowski@homebook.pl>