Feature/fixing warnings

Added more agressive warnings and fixed existing